
<template>
  <div class="containe">
    <div class="label">{{ label }}</div>
    <div>
      <slot></slot>
    </div>
  </div>
</template>
<script setup lang='ts'>
defineProps({
  label: {
    type: String,
  }
})
</script>

<style scoped lang="scss">
.containe {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 45px;
  padding: 16px;

  .label {
    padding-left: 10px;
    border-left: 4px solid #FF1040;
    color: #333333;
    font-size: 18px;
  }
}
</style>